
FROM nginx
MAINTAINER leijmdas <leijmdas@163.com>

#RUN yarn config set registry https://registry.npm.taobao.org
ENV HOME /usr/share/nginx
WORKDIR $HOME

EXPOSE 80

RUN mkdir  -p /usr/share/nginx/html

ADD ./dist /usr/share/nginx/html
COPY ./nginx/conf.d/default.conf /etc/nginx/conf.d
COPY ./nginx/nginx.conf /etc/nginx

CMD ["nginx", "-g", "daemon off;"]




